#! /bin/bash

rm teste.txt
bin/hadoop fs -rmr output
bin/hadoop fs -rmr input
bin/hadoop fs -put input input
javac -classpath ./hadoop-core-1.0.3.jar -d teste teste/Teste.java
jar -cvf ./teste.jar -C teste/ .
bin/hadoop jar ./teste.jar teste.Teste ./input/grafo ./output
bin/hadoop fs -get output/part-00000 teste.txt
